package Week7.J0527;

public class 旋转字符串 {
    public boolean solve (String A, String B) {
        return (A+A).contains(B) && (A.length() == B.length());
    }
}
